#ifndef EDITORS_H
#define EDITORS_H
#include "Include/IEditors.h"

namespace Plugins
{
    class IEditor;
    class Project;

    class Editors: public QObject, public IEditors
    {
        Q_OBJECT
        Q_INTERFACES(Plugins::IEditors)
    public:
        virtual QWidget * widget(){ return NULL;}
        virtual IEditor * createEditor(EditorType type, QWidget * parent);
        virtual void setProject(Project *);
    private:
        Project * _project;
    };
}

#endif // EDITORS_H
